package com.freework.freedbm.dao.jdbcm.map.dto;


import com.freework.freedbm.base.BaseDTO;
import com.freework.freedbm.cfg.tablecfg.TableDataManager;
import com.freework.freedbm.dao.jdbcm.JdbcForDTO;
import com.freework.util.unmodifiableMap.UnmodifiableKeyMap;

public class MapDTO extends UnmodifiableKeyMap<Object> implements BaseDTO{
	protected MapDTO(){};

	public  MapDTO(MapDTOCfg cfg){
		super(cfg);
		
	}

	public  MapDTO(MapQuery cfg){
		super(cfg);
		
	}
	
	public  JdbcForDTO[] updateField(){
			return ((TableDataManager)keysIndex).getFields();
	}
	
	public TableDataManager managerCfg() {
		if(keysIndex instanceof TableDataManager){
			return ((TableDataManager)keysIndex);
		}
		return null;

	}

	
	
}
